const ListBasic = [
  {
    name: 'b-layout',
    path: '/document/basic/b-layout',
    component: resolve => require(['@/views/document/basic/Blayout.vue'], resolve),
    meta: { title: 'Layout 布局' }
  },
  {
    name: 'b-container',
    path: '/document/basic/b-container',
    component: resolve => require(['@/views/document/basic/Bcontainer.vue'], resolve),
    meta: { title: 'Container 布局容器' }
  },
  {
    name: 'b-color',
    path: '/document/basic/b-color',
    component: resolve => require(['@/views/document/basic/Bcolor.vue'], resolve),
    meta: { title: 'Color 色彩' }
  },
  {
    name: 'b-icon',
    path: '/document/basic/b-icon',
    component: resolve => require(['@/views/document/basic/Bicon.vue'], resolve),
    meta: { title: 'Icon 图标' }
  },
  {
    name: 'b-button',
    path: '/document/basic/b-button',
    component: resolve => require(['@/views/document/basic/Bbutton.vue'], resolve),
    meta: { title: 'Button 按钮' }
  }
]

const ListForm = [
  {
    name: 'f-radio',
    path: '/document/form/f-radio',
    component: resolve => require(['@/views/document/form/Fradio.vue'], resolve),
    meta: { title: 'Radio 单选框' }
  },
  {
    name: 'f-checkbox',
    path: '/document/form/f-checkbox',
    component: resolve => require(['@/views/document/form/Fcheckbox.vue'], resolve),
    meta: { title: 'Checkbox 多选框' }
  },
  {
    name: 'f-input',
    path: '/document/form/f-input',
    component: resolve => require(['@/views/document/form/Finput.vue'], resolve),
    meta: { title: 'Input 输入框' }
  },
  {
    name: 'f-select',
    path: '/document/form/f-select',
    component: resolve => require(['@/views/document/form/Fselect.vue'], resolve),
    meta: { title: 'Select 选择器' }
  },
  {
    name: 'f-switch',
    path: '/document/form/f-switch',
    component: resolve => require(['@/views/document/form/Fswitch.vue'], resolve),
    meta: { title: 'Switch 开关' }
  },
  {
    name: 'f-slider',
    path: '/document/form/f-slider',
    component: resolve => require(['@/views/document/form/Fslider.vue'], resolve),
    meta: { title: 'Slider 滑块' }
  },
  {
    name: 'f-datepicker',
    path: '/document/form/f-datepicker',
    component: resolve => require(['@/views/document/form/Fdatepicker.vue'], resolve),
    meta: { title: 'DatePicker 日期选择器' }
  },
  {
    name: 'f-update',
    path: '/document/form/f-update',
    component: resolve => require(['@/views/document/form/Fupdate.vue'], resolve),
    meta: { title: 'Upload 上传' }
  },
  {
    name: 'f-rate',
    path: '/document/form/f-rate',
    component: resolve => require(['@/views/document/form/Frate.vue'], resolve),
    meta: { title: 'Rate 评分' }
  },
  {
    name: 'f-transfer',
    path: '/document/form/f-transfer',
    component: resolve => require(['@/views/document/form/Ftransfer.vue'], resolve),
    meta: { title: 'Transfer 穿梭框' }
  },
  {
    name: 'f-form',
    path: '/document/form/f-form',
    component: resolve => require(['@/views/document/form/Fform.vue'], resolve),
    meta: { title: 'Form 表单' }
  }
]

const ListData = [
  {
    name: 'd-table',
    path: '/document/data/d-table',
    component: resolve => require(['@/views/document/data/Dtable.vue'], resolve),
    meta: { title: 'Table 表格' }
  },
  {
    name: 'd-tag',
    path: '/document/data/d-tag',
    component: resolve => require(['@/views/document/data/Dtag.vue'], resolve),
    meta: { title: 'Tag 标签' }
  },
  {
    name: 'd-progress',
    path: '/document/data/d-progress',
    component: resolve => require(['@/views/document/data/Dprogress.vue'], resolve),
    meta: { title: 'Progress 进度条' }
  },
  {
    name: 'd-tree',
    path: '/document/data/d-tree',
    component: resolve => require(['@/views/document/data/Dtree.vue'], resolve),
    meta: { title: 'Tree 树形控件' }
  },
  {
    name: 'd-pagination',
    path: '/document/data/d-pagination',
    component: resolve => require(['@/views/document/data/Dpagination.vue'], resolve),
    meta: { title: 'Pagination 分页' }
  },
  {
    name: 'd-badge',
    path: '/document/data/d-badge',
    component: resolve => require(['@/views/document/data/Dbadge.vue'], resolve),
    meta: { title: 'Badge 标记' }
  },
  {
    name: 'd-avatar',
    path: '/document/data/d-avatar',
    component: resolve => require(['@/views/document/data/Davatar.vue'], resolve),
    meta: { title: 'Avatar 头像' }
  }
]

const ListNotice = [
  {
    name: 'no-alert',
    path: '/document/notice/no-alert',
    component: resolve => require(['@/views/document/notice/NOalert.vue'], resolve),
    meta: { title: 'Alert 警告' }
  },
  {
    name: 'no-loading',
    path: '/document/notice/no-loading',
    component: resolve => require(['@/views/document/notice/NOloading.vue'], resolve),
    meta: { title: 'Loading 加载' }
  },
  {
    name: 'no-message',
    path: '/document/notice/no-message',
    component: resolve => require(['@/views/document/notice/NOmessage.vue'], resolve),
    meta: { title: 'Message 消息提示' }
  },
  {
    name: 'no-messagebox',
    path: '/document/notice/no-messagebox',
    component: resolve => require(['@/views/document/notice/NOmessagebox.vue'], resolve),
    meta: { title: 'MessageBox 弹框' }
  },
  {
    name: 'no-notification',
    path: '/document/notice/no-notification',
    component: resolve => require(['@/views/document/notice/NOnotification.vue'], resolve),
    meta: { title: 'Notification 通知' }
  }
]

const ListNavigation = [
  {
    name: 'na-navmenu',
    path: '/document/navigation/na-navmenu',
    component: resolve => require(['@/views/document/navigation/NAnavmenu.vue'], resolve),
    meta: { title: 'NavMenu 导航菜单' }
  },
  {
    name: 'na-tabs',
    path: '/document/navigation/na-tabs',
    component: resolve => require(['@/views/document/navigation/NAtabs.vue'], resolve),
    meta: { title: 'Tabs 标签页' }
  },
  {
    name: 'na-breadcrumb',
    path: '/document/navigation/na-breadcrumb',
    component: resolve => require(['@/views/document/navigation/NAbreadcrumb.vue'], resolve),
    meta: { title: 'Breadcrumb 面包屑' }
  },
  {
    name: 'na-pageHeader',
    path: '/document/navigation/na-pageHeader',
    component: resolve => require(['@/views/document/navigation/NApageHeader.vue'], resolve),
    meta: { title: 'PageHeader 页头' }
  },
  {
    name: 'na-dropdown',
    path: '/document/navigation/na-dropdown',
    component: resolve => require(['@/views/document/navigation/NAdropdown.vue'], resolve),
    meta: { title: 'Dropdown 下拉菜单' }
  },
  {
    name: 'na-steps',
    path: '/document/navigation/na-steps',
    component: resolve => require(['@/views/document/navigation/NAsteps.vue'], resolve),
    meta: { title: 'Steps 步骤条' }
  }
]

const ListOther = [
  {
    name: 'o-dialog',
    path: '/document/others/o-dialog',
    component: resolve => require(['@/views/document/others/Odialog.vue'], resolve),
    meta: { title: 'Dialog 对话框' }
  },
  {
    name: 'o-tooltip',
    path: '/document/others/o-tooltip',
    component: resolve => require(['@/views/document/others/Otooltip.vue'], resolve),
    meta: { title: 'Tooltip 文字提示' }
  },
  {
    name: 'o-popover',
    path: '/document/others/o-popover',
    component: resolve => require(['@/views/document/others/Opopover.vue'], resolve),
    meta: { title: 'Popover 弹出框' }
  },
  {
    name: 'o-popconfirm',
    path: '/document/others/o-popconfirm',
    component: resolve => require(['@/views/document/others/Opopconfirm.vue'], resolve),
    meta: { title: 'Popconfirm 气泡确认框' }
  },
  {
    name: 'o-card',
    path: '/document/others/o-card',
    component: resolve => require(['@/views/document/others/Ocard.vue'], resolve),
    meta: { title: 'Card 卡片' }
  },
  {
    name: 'o-carousel',
    path: '/document/others/o-carousel',
    component: resolve => require(['@/views/document/others/Ocarousel.vue'], resolve),
    meta: { title: 'Carousel 走马灯' }
  },
  {
    name: 'o-collapse',
    path: '/document/others/o-collapse',
    component: resolve => require(['@/views/document/others/Ocollapse.vue'], resolve),
    meta: { title: 'Collapse 折叠面板' }
  },
  {
    name: 'o-timeline',
    path: '/document/others/o-timeline',
    component: resolve => require(['@/views/document/others/Otimeline.vue'], resolve),
    meta: { title: 'Timeline 时间线' }
  },
  {
    name: 'o-divider',
    path: '/document/others/o-divider',
    component: resolve => require(['@/views/document/others/Odivider.vue'], resolve),
    meta: { title: 'Divider 分割线' }
  },
  {
    name: 'o-calendar',
    path: '/document/others/o-calendar',
    component: resolve => require(['@/views/document/others/Ocalendar.vue'], resolve),
    meta: { title: 'Calendar 日历' }
  },
  {
    name: 'o-image',
    path: '/document/others/o-image',
    component: resolve => require(['@/views/document/others/Oimage.vue'], resolve),
    meta: { title: 'Image 图片' }
  },
  {
    name: 'o-backtop',
    path: '/document/others/o-backtop',
    component: resolve => require(['@/views/document/others/Obacktop.vue'], resolve),
    meta: { title: 'Backtop 回到顶部' }
  },
  {
    name: 'o-drawer',
    path: '/document/others/o-drawer',
    component: resolve => require(['@/views/document/others/Odrawer.vue'], resolve),
    meta: { title: 'Drawer 抽屉' }
  }
]



export default (function () {
  return [
    ...ListBasic,
    ...ListForm,
    ...ListData,
    ...ListNotice,
    ...ListNavigation,
    ...ListOther
  ]
})()
